from appium.webdriver.common.mobileby import MobileBy
from app_wechat_po.base.base_page import BasePage


class PersonalSettinsPage(BasePage):
    # 点击编辑成员
    def goto_edit_personal(self):
        # 4.点击编辑成员
        self.find_and_click(MobileBy.XPATH, "//*[@text='编辑成员']")

        from app_wechat_po.page.edit_personal_page import EditPersonalPage
        return EditPersonalPage(self.driver)